import os
from PIL import Image
import numpy as np
for image_path in os.listdir('validation'):
        if image_path[-3:] == "png":
            image = np.array(Image.open('validation/'+image_path))
            image = image*100
            image = Image.fromarray(image.astype('uint8'))
            image.save('results_show_2/'+image_path)